package org.nepu.sc.mx.params;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "更新参数")
public class SafeMxUpdateParams {
    @NotBlank(message = "任务ID不可为空")
    @ApiModelProperty(value = "任务ID")
    String taskId;

    @NotBlank(message = "评价指标ID不可为空")
    @ApiModelProperty(value = "评价指标ID")
    String rateId;


    @NotEmpty(message = "矩阵不可为空")
    @ApiModelProperty(value = "对应矩阵")
    List<Integer> mx;
}
